package com.ciquan.server.dao;

import com.ciquan.server.bean.PraiseRecord;
import com.ciquan.server.bean.UserInfo;
import com.ciquan.server.util.web.ParameterMap;

import java.util.List;
import java.util.Map;

/**
 * Created by card on 2015/8/30.
 */
public interface PraiseRecordMapper {

    int insert(PraiseRecord praiseRecord);

    int delete(PraiseRecord praiseRecord);

    List<UserInfo> selectList(ParameterMap map);

    int selectCount(Map<String, Object> map);

    List<PraiseRecord> selectTop();

    List<PraiseRecord> praiseList(ParameterMap map);
}
